package com.cp.springbootone.service;

import com.cp.springbootone.pojo.MsgLog;

import java.util.Date;
import java.util.List;

/**
 * @author ChengPeng
 * @create 2020-08-10 15:25
 */
public interface MsgLogService {

    void updateStatus(String msgId, Integer status);

    MsgLog selectByMsgId(String msgId);

    List<MsgLog> selectTimeoutMsg();

    void updateTryCount(String msgId, Date tryTime);
}